﻿<controls:ChildWindow x:Class="SilverlightPlayground.RFB.Silverlight.Dialogs.ErrorWindow"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="294" Height="150" 
           Title="Error" Style="{StaticResource CommonDialog}">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <Button x:Name="CloseButton" Content="Close" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="1" />
        <TextBlock x:Name="txtMessage" TextWrapping="Wrap" Text="TextBlock" Foreground="White"/>
    </Grid>
</controls:ChildWindow>